//
//  UITextField+UITextFieldCategory.m
//  findFriend
//
//  Created by ju on 14-9-14.
//  Copyright (c) 2014年 dono. All rights reserved.
//

#import "UITextField+UITextFieldCategory.h"

@implementation UITextField (UITextFieldCategory)

- (CGRect)textRectForBounds:(CGRect)bounds {
    CGRect theRect=CGRectMake(bounds.origin.x+10, bounds.origin.y, bounds.size.width-10, bounds.size.height);
    return theRect;
}

- (CGRect)editingRectForBounds:(CGRect)bounds {
    return [self textRectForBounds:bounds];
}

@end
